// 导入需要过滤的路由
import { asyncRouterMap } from './asyncRouterMap'
const type = JSON.parse(localStorage.getItem("onUser")) || []
export const routerFilter = asyncRouterMap.filter(i => i.meta.roles.includes(type[2]))